# -*- encoding=utf8 -*-
        
__author__ = "Bryan.Chen"
__desc__=""
        
from airtest.core.api import *
        
auto_setup(__file__)
        
from poco.drivers.std import StdPoco
poco = StdPoco()
        
using("../FlowTest.air")
import FlowTest
        
class GoldBean_QuickStartGame(FlowTest.BaseTestCase):
    def __init__(self):
        print("%s __init__" % (__file__))
        
    def runTest(self, args):
        print("%s runTest" % (__file__))

        if not poco("JDCRoomListLayer").exists():
            return False

        btnQuickStart = poco("quickstart_btn")
        if not btnQuickStart.exists():
            return False
    
        self.clickButton(btnQuickStart)

        return True
        
_instance = GoldBean_QuickStartGame()
runTest = _instance.runTest
